package com.hsjk.szwj.module.pay.dal.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hsjk.szwj.module.pay.dal.dataobject.system.MchNotifyRecordDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/22 16:45
 **/
@Mapper
public interface IMchNotifyRecordMapper extends BaseMapper<MchNotifyRecordDO> {
    Integer updateNotifyResult(@Param("notifyId") Long notifyId,
                               @Param("state") Integer state,
                               @Param("resResult") String resResult);

    Integer updateIngAndAddNotifyCountLimit(@Param("notifyId") Long notifyId);
}
